package com.evony.client.action 
{
    import com.evony.common.*;
    import com.evony.common.module.furlough.*;
    
    public class FurloughCommands extends Object
    {
        public function FurloughCommands()
        {
            super();
            return;
        }

        public function setSender(arg1:com.evony.common.Sender):void
        {
            this.sender = arg1;
            return;
        }

        public function isFurlought(arg1:int, arg2:int, arg3:String, arg4:Boolean, arg5:Function=null):com.evony.common.module.furlough.FurloughResponse
        {
            this._isFurlought_callback = arg5;
            var loc1:*;
            (loc1 = new Object()).playerId = arg1;
            loc1.day = arg2;
            loc1.password = arg3;
            loc1.isAutoFurlough = arg4;
            if (this.sender != null) 
            {
                sender.sendMessage("furlough.isFurlought", loc1);
            }
            return null;
        }

        public function cancelFurlought(arg1:int, arg2:Function=null):com.evony.common.module.furlough.FurloughResponse
        {
            this._cancelFurlought_callback = arg2;
            var loc1:*=new Object();
            loc1.playerId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("furlough.cancelFurlought", loc1);
            }
            return null;
        }

        public var _cancelFurlought_callback:Function;

        internal var sender:com.evony.common.Sender;

        public var _isFurlought_callback:Function;
    }
}
